<?php
namespace Demo\App\Middleware;

use Swork\Bean\BeanCollector;
use Swork\Middleware\AfterMiddlewareInterface;
use Swork\Server\Http\Argument;

/**
 * 权限校验中间件
 * @Annotation
 */
class ClassAfterMiddleware extends BeanCollector implements AfterMiddlewareInterface
{
    /**
     * 中间件处理层
     * @param Argument $argument 请求参数
     * @param mixed $result 逻辑处理后的结果
     */
    public function process(Argument $argument, &$result)
    {
        //echo 'ClassAfterMiddleware'. PHP_EOL;
    }
}
